home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 139 / 139.xpi / chrome / imagezoom.jar / content / overlay_thunderbird.xul < prev    next >
Extensible Markup Language  |  2010-01-04  |  9KB  |  234 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  
  4.     Copyright (c) 2006-2010  Jason Adams <imagezoom@yellowgorilla.net>
  5.  
  6.     This file is part of Image Zoom.
  7.  
  8.     Image Zoom is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 2 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     Image Zoom is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with Image Zoom; if not, write to the Free Software
  20.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  21.  
  22. ***** END LICENSE BLOCK ***** -->
  23. <!DOCTYPE overlay SYSTEM "chrome://net.yellowgorilla.imagezoom/locale/imageZoom.dtd">
  24. <overlay id="net.yellowgorilla.imagezoom.overlay_thunderbird"
  25.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  26.     <script type="application/x-javascript" src="chrome://net.yellowgorilla.imagezoom/content/overlay.js"/>
  27.     <script type="application/x-javascript" src="chrome://net.yellowgorilla.imagezoom/content/globals.js"/>
  28.  
  29.   <stringbundleset id="stringbundleset">
  30.     <stringbundle id="net.yellowgorilla.imagezoom.stringbundle" src="chrome://net.yellowgorilla.imagezoom/locale/imageZoom.properties"/>
  31.   </stringbundleset>
  32.  
  33.     <popup id="messagePaneContext">
  34.             <menuitem id="context-zoom-zin"
  35.                 label="&iz.menu.context.increase.label;"
  36.                 accesskey="&iz.menu.context.increase.accesskey;"
  37.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomIn();"
  38.                 insertbefore="messagePaneContext-sep-copy"
  39.                 hidden="true"
  40.             />
  41.             <menuitem id="context-zoom-zreset"
  42.                 label="&iz.menu.context.reset.label;"
  43.                 accesskey="&iz.menu.context.reset.accesskey;"
  44.                 insertbefore="messagePaneContext-sep-copy"
  45.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
  46.                 hidden="true"
  47.             />
  48.             <menuitem id="context-zoom-zout"
  49.                 label="&iz.menu.context.decrease.label;"
  50.                 accesskey="&iz.menu.context.decrease.accesskey;"
  51.                 insertbefore="messagePaneContext-sep-copy"
  52.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomOut();"
  53.                 hidden="true"
  54.             />
  55.             <menuitem id="context-zoom-zcustom"
  56.                 label="&iz.menu.context.customzoom.label;"
  57.                 insertbefore="messagePaneContext-sep-copy"
  58.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomZoom();"
  59.                 hidden="true"
  60.             />
  61.             <menuitem id="context-zoom-dcustom"
  62.                 label="&iz.menu.context.customdim.label;"
  63.                 insertbefore="messagePaneContext-sep-copy"
  64.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomDim();"
  65.                 hidden="true"
  66.             />
  67.             <menuitem id="context-zoom-fit"
  68.                 label="&iz.menu.context.imagefit.label;"
  69.                 insertbefore="messagePaneContext-sep-copy"
  70.                 oncommand="net.yellowgorilla.imagezoom.overlay.izImageFit();"
  71.                 hidden="true"
  72.             />
  73.             <menuitem id="context-zoom-rotate-right"
  74.                 label="&iz.menu.context.imagerotateright.label;"
  75.                 insertbefore="messagePaneContext-sep-copy"
  76.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotateRight();"
  77.                 hidden="true"
  78.             />
  79.             <menuitem id="context-zoom-rotate-left"
  80.                 label="&iz.menu.context.imagerotateleft.label;"
  81.                 insertbefore="messagePaneContext-sep-copy"
  82.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotateLeft();"
  83.                 hidden="true"
  84.             />    
  85.             <menuitem id="context-zoom-rotate-180"
  86.                 label="&iz.menu.context.imagerotate180.label;"
  87.                 insertbefore="messagePaneContext-sep-copy"
  88.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotate180();"
  89.                 hidden="true"
  90.             />
  91.             <menuitem id="context-zoom-rotate-reset"
  92.                 label="&iz.menu.context.imagerotatereset.label;"
  93.                 insertbefore="messagePaneContext-sep-copy"
  94.                 oncommand="net.yellowgorilla.imagezoom.overlay.izRotateReset();"
  95.                 hidden="true"
  96.             />                    
  97.         <menu id="context-zoomsub"
  98.             label="&iz.menu.context.zoomimage.label;"
  99.             accesskey="&iz.menu.context.zoomimage.accesskey;"
  100.             insertbefore="messagePaneContext-sep-copy"
  101.             hidden="true"
  102.         >
  103.               <menupopup id="zoompopup">
  104.             <menuitem id="zoomsub-zin"
  105.                 label="&iz.menu.context.increase.label;"
  106.                 accesskey="&iz.menu.context.increase.accesskey;"
  107.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomIn();"
  108.                 hidden="true"
  109.             />
  110.             <menuitem id="zoomsub-zreset"
  111.                 label="&iz.menu.context.reset.label;"
  112.                 accesskey="&iz.menu.context.reset.accesskey;"
  113.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
  114.                 hidden="true"
  115.             />
  116.             <menuitem id="zoomsub-zout"
  117.                 label="&iz.menu.context.decrease.label;"
  118.                 accesskey="&iz.menu.context.decrease.accesskey;"
  119.                 oncommand="net.yellowgorilla.imagezoom.overlay.izZoomOut();"
  120.                 hidden="true"
  121.             />
  122.             <menuseparator id="zoomsub-s1"
  123.                 hidden="true"
  124.             />                    
  125.             <menuitem id="zoomsub-zcustom"
  126.                 label="&iz.menu.context.customzoom.label;"
  127.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomZoom();"
  128.                 hidden="true"
  129.             />
  130.             <menuitem id="zoomsub-dcustom"
  131.                 label="&iz.menu.context.customdim.label;"
  132.                 oncommand="net.yellowgorilla.imagezoom.overlay.izShowCustomDim();"
  133.                 hidden="true"
  134.             />
  135.             <menuseparator id="zoomsub-s2"
  136.                 hidden="true"
  137.             />
  138.             <menuitem id="zoomsub-fit"
  139.                 label="&iz.menu.context.imagefit.label;"
  140.                 oncommand="net.yellowgorilla.imagezoom.overlay.izImageFit();"
  141.                 hidden="true"
  142.             />
  143.             <menuseparator id="zoomsub-s3"
  144.                 hidden="true"
  145.             />
  146.             <menuitem id="zoomsub-z400"
  147.                 label="400%"
  148.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(400);"
  149.                 hidden="true"
  150.             />
  151.             <menuitem id="zoomsub-z200"
  152.                 label="200%"
  153.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(200);"
  154.                 hidden="true"
  155.             />
  156.             <menuitem id="zoomsub-z150"
  157.                 label="150%"
  158.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(150);"
  159.                 hidden="true"
  160.             />
  161.             <menuitem id="zoomsub-z125"
  162.                 label="125%"
  163.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(125);"
  164.                 hidden="true"
  165.             />
  166.             <menuseparator id="zoomsub-s4"
  167.                 hidden="true"
  168.             />
  169.             <menuitem id="zoomsub-z100"
  170.                 label="100%"
  171.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(100);"
  172.                 hidden="true"
  173.             />
  174.             <menuseparator id="zoomsub-s5"
  175.                 hidden="true"
  176.             />
  177.             <menuitem id="zoomsub-z75"
  178.                 label="75%"
  179.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(75);"
  180.                 hidden="true"
  181.             />
  182.             <menuitem id="zoomsub-z50"
  183.                 label="50%"
  184.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(50);"
  185.                 hidden="true"
  186.             />
  187.             <menuitem id="zoomsub-z25"
  188.                 label="25%"
  189.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(25);"
  190.                 hidden="true"
  191.             />
  192.             <menuitem id="zoomsub-z10"
  193.                 label="10%"
  194.                 oncommand="net.yellowgorilla.imagezoom.overlay.izSetZoom(10);"
  195.                 hidden="true"
  196.             />
  197.               </menupopup>
  198.             </menu>
  199.             <menu id="context-rotatesub"
  200.                 label="&iz.menu.context.rotateimage.label;"
  201.                 accesskey="&iz.menu.context.rotateimage.accesskey;"
  202.                 insertbefore="messagePaneContext-sep-copy"
  203.                 hidden="true"
  204.             >
  205.                   <menupopup id="rotatepopup">
  206.                 <menuitem id="rotatesub-rotate-right"
  207.                     label="&iz.menu.context.imagerotateright.label;"
  208.                     accesskey="&iz.menu.context.rotate.right.accesskey;"
  209.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotateRight();"
  210.                     hidden="true"
  211.                 />
  212.                 <menuitem id="rotatesub-rotate-left"
  213.                     label="&iz.menu.context.imagerotateleft.label;"
  214.                     accesskey="&iz.menu.context.rotate.left.accesskey;"
  215.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotateLeft();"
  216.                     hidden="true"
  217.                 />    
  218.                 <menuitem id="rotatesub-rotate-180"
  219.                     label="&iz.menu.context.imagerotate180.label;"
  220.                     accesskey="&iz.menu.context.rotate.180.accesskey;"
  221.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotate180();"
  222.                     hidden="true"
  223.                 />    
  224.                 <menuitem id="rotatesub-rotate-reset"
  225.                     label="&iz.menu.context.imagerotatereset.label;"
  226.                     accesskey="&iz.menu.context.rotate.reset.accesskey;"
  227.                     oncommand="net.yellowgorilla.imagezoom.overlay.izRotateReset();"
  228.                     hidden="true"
  229.                 />
  230.                   </menupopup>
  231.                 </menu>
  232.     </popup>
  233. </overlay>
  234.